//
//  MStore.h
//  RRQS
//
//  Created by kyjun on 16/3/28.
//
//

#import <Foundation/Foundation.h>

@interface MStore : NSObject

-(instancetype)initWithItem:(NSDictionary*)item;

/**
 *  唯一标识 (itemid)
 */
@property(nonatomic,strong) NSString* rowID;
#pragma mark =====================================================  storeInfo
/**
 *  店铺编号 (site_id)
 */
@property(nonatomic,strong) NSString* storeID;
/**
 *  店铺名称 (store_name)
 */
@property(nonatomic,strong) NSString* storeName;
/**
 *  店铺地址 (store_addr)
 */
@property(nonatomic,strong) NSString* storeAddress;
/**
 *  店铺电话 (site_phone)
 */
@property(nonatomic,strong) NSString* storePhone;
/**
 *  店铺经度 (lng)
 */
@property(nonatomic,strong) NSString* lng;
/**
 *  店铺维度 (lat)
 */
@property(nonatomic,strong) NSString* lat;
/**
 *  用户的坐标 例如：“112.13558972,32.03696137”
 */
@property(nonatomic,strong) NSString* phoneAddress;


#pragma mark =====================================================  userInfo
/**
 *  用户名 (uname)
 */
@property(nonatomic,strong) NSString* userName;
/**
 *  用户电话 (phone)
 */
@property(nonatomic,strong) NSString* userPhone;

#pragma mark =====================================================  orderInfo
/**
 *  主订单编号 (main_id)
 */
@property(nonatomic,strong) NSString* orderID;
/**
 *  子订单编号 (order_id)
 */
@property(nonatomic,strong) NSString* subOrderID;
/**
 *  订单创建时间-下单时间 (add_time)
 */
@property(nonatomic,strong) NSString* createDate;
/**
 *  订单金额 (food_amount)
 */
@property(nonatomic,strong) NSString* sumMoney;
/**
 *  订单状态 (status)
 */
@property(nonatomic,assign) EnumExpressStatus status;

@property(nonatomic,strong) NSString* payType;

#pragma mark =====================================================  courierInfo （快递员信息）
/**
 *  快递员编号 (emp_id)
 */
@property(nonatomic,strong) NSString* empID;
/**
 *  店铺距离 (location)
 */
@property(nonatomic,strong) NSString* location;

@property(nonatomic,strong) NSMutableArray* arrayGoods;



@end
